import App from './App'
import {setupLang} from '@/common/lang.js'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

import uviewPlus from '@/uni_modules/uview-plus'

// #ifdef VUE3
import {
	createSSRApp,
	
} from 'vue'

import store from './store'
import { createI18n } from 'vue-i18n'
import globalComponents from '@/common/globalComponents.js'
import { setupPinia } from '@/store';
export function createApp() {
	const app = createSSRApp(App)

	
	app.use(uviewPlus)
	
	setupPinia(app);
	app.use(globalComponents)
	return {
		app
	}
}
// #endif
